package com.lk.security;

import com.lk.security.authentication.mobile.SmsSend;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: lk-security-parent
 * @description: 会替换容器中SmsSend的实例
 * @author: Aspirin
 * @create: 2020-05-30 21:59
 */
@Component
public class MobileSmsCodeSender implements SmsSend {
  private static final Logger logger = LoggerFactory.getLogger(MobileSmsCodeSender.class);

  @Override
  public boolean sendSms(String mobile, String content) {
    logger.info("Web应用新的短信验证码接口--向手机号:{}发送了验证码为:{}", mobile, content);
    return false;
  }
}
